<layout name="layout"/>
<p><a href="__CONTROLLER__/index" class="uk-button uk-button-default">{$Think.lang.back}</a>
	<a href="__MODULE__/Ipblock/index/id/{$mh_id}" class="uk-button uk-button-primary" >IP限制</a>
	<a href="__MODULE__/Cnblock/index/id/{$mh_id}" class="uk-button uk-button-primary" >国家限制</a>
</p>


<form id="validate_form" class="uk-form" method="post" action="__CONTROLLER__/updateHandle">
<input type="hidden" name="mh_id" value="{$mh_id}"/>
<div class="uk-alert">基础信息</div>
<table class="uk-table">
<tr><td  width=180>#</td><td>
{$mh_id}
</td></tr>
<tr><td>余额</td><td>
{$mh_balance}
</td></tr>
<tr><td>Email</td><td>
<input type="text" required email="true" name="mh_email"value="{$mh_email}"/>
</td></tr>
<tr><td>{$Think.lang.pwd}</td><td>
<input type="password"  name="mh_pwd"/>
 <span class="uk-text-muted">{$Think.lang.pwd_tip}</span>
</td></tr>
<tr><td>支付密码</td><td>
<input type="password"  name="mh_paypwd"/>
 <span class="uk-text-muted">{$Think.lang.pwd_tip}</span>
</td></tr>
<tr><td>{$Think.lang.access_token}</td><td>
<input type="text" required name="mh_token"  value="{$mh_token}"/>
</td></tr>
<tr><td>手机</td><td>
<input type="text" required name="mh_phone"  value="{$mh_phone}"/>
</td></tr>
<tr><td>服务类型</td><td>
<textarea name="mh_service" required>{$mh_service}</textarea>
</td></tr>
<tr><td>姓名</td><td>
<input type="text" required name="mh_name" value="{$mh_name}"/>
</td></tr>
<tr><td>国家</td><td>
<select name="mh_country" required>
<option value="">--</option>
<volist name=":getCountryList()" id="vo">
<option value="{$vo.countries_iso_code_2}" <eq name="vo.countries_iso_code_2" value="$mh_country">selected</eq>>{$vo.countries_name}</option>
</volist>
</select>
</td></tr>
<tr><td>州/省</td><td>
<input type="text" required name="mh_state" value="{$mh_state}"/>
</td></tr>
<tr><td>城市</td><td>
<input type="text" required name="mh_city" value="{$mh_city}"/>
</td></tr>
<tr><td>地区</td><td>
<input type="text" required name="mh_street" value="{$mh_street}"/>
</td></tr>
<tr><td>账户类型</td><td>
<label><input type="radio" name="mh_type" value="0" <eq name="mh_type" value="0">checked</eq>>商户</label>&nbsp;&nbsp;&nbsp;&nbsp;
<label><input type="radio" name="mh_type" value="1" <eq name="mh_type" value="1">checked</eq> >个人</label>
</td></tr>
<tr><td>是否签订合同</td><td>

 <label><input type="radio" name="mh_isagreement" value="0" <eq name="mh_isagreement" value="0">checked</eq>>否</label>&nbsp;&nbsp;&nbsp;&nbsp;
 <label><input type="radio" name="mh_isagreement" value="1" <eq name="mh_isagreement" value="1">checked</eq> >是</label>
</td></tr>
<tr><td>是否支持VT</td><td>

 <label><input type="radio" name="mh_isvt" value="0" <eq name="mh_isvt" value="0">checked</eq>>否</label>&nbsp;&nbsp;&nbsp;&nbsp;
 <label><input type="radio" name="mh_isvt" value="1" <eq name="mh_isvt" value="1">checked</eq>>是</label>
</td></tr>
<tr><td>是否允许提现</td><td>

 <label><input type="radio" name="mh_withdraw_status" value="0" <eq name="mh_withdraw_status" value="0">checked</eq>>否</label>&nbsp;&nbsp;&nbsp;&nbsp;
 <label><input type="radio" name="mh_withdraw_status" value="1" <eq name="mh_withdraw_status" value="1">checked</eq>>是</label>
</td></tr>
<tr><td>是否激活</td><td>

 <label><input type="radio" name="mh_isactive" value="0" <eq name="mh_isactive" value="0">checked</eq>>否</label>&nbsp;&nbsp;&nbsp;&nbsp;
 <label><input type="radio" name="mh_isactive" value="1" <eq name="mh_isactive" value="1">checked</eq> >是</label>
</td></tr>
<tr><td>备注</td><td>
<textarea name="mh_remark" required>{$mh_remark}</textarea>
</td></tr>
<tr><td>注册时间</td><td>
{$mh_regtime}
</td></tr>
</table>
<div class="uk-alert">交易设置</div>
<table class="uk-table">
<tr><td  width=180>交易费率</td><td>
<input type="text" required name="mh_process_rate" value="{$mh_process_rate}"/>
</td></tr>
<tr><td>拒付费</td><td>
<input type="text" required name="mh_cb_fee" value="{$mh_cb_fee}"/>
</td></tr>
<tr><td>退款费</td><td>
<input type="text" required name="mh_refund_fee" value="{$mh_refund_fee}"/>
</td></tr>
<tr><td>失败费</td><td>
<input type="text" required name="mh_failed_fee" value="{$mh_failed_fee}"/>
</td></tr>
<tr><td>提现费</td><td>
<input type="text" required name="mh_withdraw_fee" value="{$mh_withdraw_fee}"/>
</td></tr>
<tr><td>保证金费率</td><td>
<input type="text" required name="mh_rolling_rate" value="{$mh_rolling_rate}"/>
</td></tr>
<tr><td>保证金返还周期(天)</td><td>
<input type="text" required name="mh_rolling_days" value="{$mh_rolling_days}"/>
</td></tr>
<tr><td>最小提现额</td><td>
<input type="text" required name="mh_min_withdraw_amount" value="{$mh_min_withdraw_amount}"/>
</td></tr>
<tr><td>最大交易额</td><td>
<input type="text" required name="mh_max_process_amount" value="{$mh_max_process_amount}"/>
</td></tr>
<tr><td>单卡日交易次数</td><td>
<input type="text" required name="mh_card_daily" value="{$mh_card_daily}"/>
</td></tr>
<tr><td>单卡日失败次数</td><td>
<input type="text" required name="mh_card_failed_daily" value="{$mh_card_failed_daily}"/>
</td></tr>
<tr><td>单卡日成功次数</td><td>
<input type="text" required name="mh_card_success_daily" value="{$mh_card_success_daily}"/>
</td></tr>
<tr><td>押款天数</td><td>
<input type="text" required name="mh_covered_days" value="{$mh_covered_days}"/>
</td></tr>
<tr><td>单顾客日成功次数</td><td>
<input type="text" required name="mh_user_daily" value="{$mh_user_daily}"/>
</td></tr>
<tr><td>汇率差</td><td>
<input type="text" required name="mh_exchange_tpl" range="0,0.1" value="{$mh_exchange_tpl}"/>
</td></tr>
<tr><td>私有汇率比</td><td>
<input type="text" required name="mh_sp_exchange" number="true" value="{$mh_sp_exchange}"/>
</td></tr>
<tr><td>是否允许同订单号多次交易</td><td>

 <label><input type="radio" name="mh_sameid_status" value="0" <eq name="mh_sameid_status" value="0">checked</eq>>否</label>&nbsp;&nbsp;&nbsp;&nbsp;
 <label><input type="radio" name="mh_sameid_status" value="1" <eq name="mh_sameid_status" value="1">checked</eq> >是</label>
</td></tr>

<tr><td>--</td><td>
<button class="uk-button uk-button-danger" type="submit">{$Think.lang.save}</button>
</td></tr>
</table>
</form>

<div class="uk-alert">系统冲账</div>
<form id="validate_form1" class="uk-form" method="post" action="__CONTROLLER__/transfer">
<input type="hidden" name="mh_id" value="{$mh_id}"/>
<table class="uk-table">
<tr><td  width=180>对账类型</td><td>
 <label><input type="radio" name="transfer_type" value="9" checked>对账转出</label>&nbsp;&nbsp;&nbsp;&nbsp;
 <label><input type="radio" name="transfer_type" value="8" >对账转入</label>
</td></tr>
<tr><td >对账金额</td><td>
<input type="text" required isFloatGtZero="true" name="transfer_money" />
</td></tr>
<tr><td>原因说明</td><td>
<textarea name= "remark" required></textarea>
</td></tr>
<tr><td>--</td><td>
<button class="uk-button uk-button-danger" type="submit">{$Think.lang.confirm}</button>
</td></tr>
</table>

</form>